﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LoveNote.Database.Entities
{
    /// <summary>
    /// 便签表
    /// </summary>
    [Table(nameof(NoteEntity))]
    public class NoteEntity : EntityBase
    {
        private int userId = 0;
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId
        {
            get { return userId; }
            set { SetProperty(ref userId, value); }
        }

        private string content = string.Empty;
        /// <summary>
        /// 便签内容
        /// </summary>
        public string Content
        {
            get { return content; }
            set { SetProperty(ref content, value); }
        }
    }
}
